from django.urls import path
from . import views

app_name = 'system'

urlpatterns = [
    path('app-info/', views.AppInfoView.as_view(), name='app-info'),
    path('agreement/', views.AgreementView.as_view(), name='agreement'),
    path('privacy/', views.PrivacyPolicyView.as_view(), name='privacy'),
    #后台
        path('banners/', views.BannerView.as_view(), name='banner-list'),
    path('banners/<int:pk>/', views.BannerDetailView.as_view(), name='banner-detail'),
    path('platform-settings/', views.PlatformSettingsView.as_view(), name='platform-settings'),
    path('sms-templates/', views.SMSTemplateView.as_view(), name='sms-template-list'),
    path('sms-templates/<int:pk>/', views.SMSTemplateDetailView.as_view(), name='sms-template-detail'),
    path('customer-service/', views.CustomerServiceView.as_view(), name='customer-service'),
]